//
//  JuliyeStaticHead.h
//  Zuisuigirveup
//
//  Created by spdbmacbook0003 on 2025/8/4.
//

#ifndef JuliyeStaticHead_h
#define JuliyeStaticHead_h

#define JLYScreenHeight  [[UIScreen mainScreen] bounds].size.height
#define JLYScreenWidth  [[UIScreen mainScreen] bounds].size.width

#define JLYNavHeight (44.0f + JLYStatusHeight)
#define JLYTabHeight (JLYHasBottom ? 83.0f : 49.0f)
#define JLYStatusHeight (JLYHasBottom ? 44.0f : 20.0f)
#define JLYHasBottom ([UIApplication sharedApplication].delegate.window.safeAreaInsets.bottom > 0)

#define JLYTap 20.0f
#define JLYTabbarViewHeight 54.0f
#define JLYCountDistance(d) ((JLYScreenWidth * d)/375.0)

#define JLYColor(dex)  [UIColor JLYGetColorWithHEX:dex]
#define JLYRGBA(r,g,b,a) [UIColor colorWithRed:r green:g blue:b alpha:a]
#define JLYWeakSelf   __weak typeof(self) weakSelf = self
#define JLYStrongSelf __strong typeof(self) strongSelf = weakSelf

#endif /* JuliyeStaticHead_h */
